﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace InnovTech.Data
{
    /// <summary>
    /// Describes the object with a name.
    /// </summary>
    public interface INamedObject
    {
        /// <summary>
        /// Gets the name of the object
        /// </summary>
        string Name { get; }
    }

    public interface IDescribable
    {
        string Description { get; }
    }

    /// <summary>
    /// Describes the object with a name and a description.
    /// </summary>
    public interface INamedObjectWithDescription : INamedObject, IDescribable
    {
        /// <summary>
        /// Gets the description of the object.
        /// </summary>
        string Description { get; }
    }
}
